package com.management.vtribe.Bean;

import java.sql.Timestamp;

public class Article {
    private int id;
    private String title;
    private Timestamp edit_date;
    private User author;
    private Category category;
    private String state;
    private String content;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Timestamp getEdit_date() {
        return edit_date;
    }

    public void setEdit_date(Timestamp edit_date) {
        this.edit_date = edit_date;
    }

    public User getAuthor() {
        return author;
    }

    public void setAuthor(User author) {
        this.author = author;
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
